#ifndef  __UART_DEF_H__
#define  __UART_DEF_H__

#include "sys.h"

typedef void (*uart_int_fn)(void);

typedef struct 
{
    uint8_t *dma_tx_buff;
    uint8_t *dma_rx_buff;

    uint32_t dma_tx_len;
    uint32_t dma_rx_len;

    uart_int_fn idle_interrupt;

}uart_param_t;

#endif   /* __UART_DEF_H__ */
